package com.time.workbench.efficient.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.time.workbench.efficient.entity.bo.Environment;
import com.time.workbench.efficient.entity.bo.Server;
import com.time.workbench.efficient.entity.dto.EnvironmentPageReq;
import com.time.workbench.efficient.entity.dto.ServerPageReq;
import org.apache.ibatis.annotations.Param;

/**
 * 环境管理
 */
public interface EnvironmentMapper extends BaseMapper<Environment> {

    /**
     * 分页
     *
     * @param page
     * @param environmentPageReq
     * @return
     */
    Page<Environment> page(@Param("page") IPage<Environment> page, @Param("environmentPageReq") EnvironmentPageReq environmentPageReq);

}
